package com.dp.appi.entity;

import com.dp.appi.exception.CommonException;
import com.dp.appi.util.PasswordUtil;
import com.google.gson.Gson;

import java.io.UnsupportedEncodingException;

/**
 * Created by xiaoji on 2016/4/20.
 */
public class MaterialEntity {
    public String getMaterial_number() {
        return material_number;
    }

    public void setMaterial_number(String material_number) {
        this.material_number = material_number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String material_number;//物料编码
    public String name;//材料名称
    public String spec;//型号
    public String unit;//单位
    public String num;//数量
    public String type;//类型
    public int sort;//排序

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
